package com.gree.syq.wifidemo;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.view.View;

public abstract class DemoRole {

    public abstract void init(Activity activity);
    public abstract void init();
    public abstract void run(String para);
    public abstract void onReceive(Context context, Intent intent);
    public void unRegister() {
        MessageP2P.unRegister();
    }

    public static native void doCommand(String cmd);
}
